package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.investigate.BpInvestigateTypeBean;
import com.joysuch.wwyt.bp.entity.investigate.BpInvestigateType;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import org.springframework.data.domain.Pageable;

/**
 * @Author ZhangDong
 * @Date 2020/3/25 16:49
 */
public interface BpInvestigateTypeService {

    ResultBean save(BpInvestigateTypeBean bean);

    ResultBean delete(Long id);

    ResultBean page(Pageable pageable);

    BpInvestigateType getById(Long id);

    BpInvestigateType findFirstByCheckType(String checkType);
}
